import java.util.Scanner;
public class Excise2{
    public static void main(String args[]){
        System.out.println("请输入一个字母：");
      Scanner s=new Scanner(System.in);
      char c=s.next().charAt(0);
      s.close();
      System.out.println("您输入的是"+c);

        if(c>='A' && c<='Z'){
            c+=32;
            System.out.println("转化后为：");
            System.out.println(c);
        }else if(c>='a' && c<='z'){    
            c-=32;
            System.out.println("转化后为：");
            System.out.println(c);
        }
        else{
            System.out.println("您输入的不是字母！");
        }
    }
}